package package_demo;

public class Student {
    String name;
    int age;
    String sex;
    Computer computer;
//测试static 静态变量
    public static void staticTest(){
        Student s = new Student();
        s.age =10;
    }

    public void student(){
        System.out.println("学生姓名:"+name);
        staticTest();
    }
}
